|
Kameleon-Plus
0.3.2
|
#include <Vector.h>


Public Member Functions | |
| Vector () | |
| Vector (T c0, T c1, T c2) | |
| T | length () |
| Vector< T > | operator+ (const Vector< T > &v) const |
| Vector< T > | operator- (const Vector< T > &v) const |
| Vector< T > | operator* (const T &value) const |
| Vector< T > | operator/ (const T &value) const |
| void | operator+= (const Vector< T > &v) |
| void | operator-= (const Vector< T > &v) |
| void | operator*= (const T &value) |
| void | operator/= (const T &value) |
| void | norm () |
| virtual | ~Vector () |
Public Member Functions inherited from ccmc::Point< T > | |
| Point () | |
| Point (T &c0, T &c1, T &c2) | |
| void | setComponents (T &c1, T &c2, T &c3) |
| const T & | c0 () |
| const T & | c1 () |
| const T & | c2 () |
| std::string | toString () |
| virtual | ~Point () |
Static Public Member Functions | |
| static T | dot (Vector< T > &a, Vector< T > &b) |
| static T | dot (Vector< T > *a, Vector< T > *b) |
| static Vector< T > | cross (Vector< T > &a, Vector< T > &b) |
| static Vector< T > | cross (Vector< T > *a, Vector< T > *b) |
| static void | cross (Vector< T > &c, Vector< T > &a, Vector< T > &b) |
| static T | triple (Vector< T > &a, Vector< T > &b, Vector< T > &c) |
| static Vector< T > | norm (Vector< T > &a) |
| static Vector< T > | norm (Vector< T > *a) |
| static T | angle (Vector< T > &a, Vector< T > &b) |
| static void | angle (T &angle, Vector< T > &a, Vector< T > &b) |
Static Public Attributes | |
| static Vector< T > | dummy = Vector(0,0,0) |
Additional Inherited Members | |
Protected Attributes inherited from ccmc::Point< T > | |
| T | components [3] |
| ccmc::Vector< T >::Vector | ( | ) |
| ccmc::Vector< T >::Vector | ( | T | c0, |
| T | c1, | ||
| T | c2 | ||
| ) |
|
virtual |
|
static |
|
static |

|
static |

|
static |

|
static |

|
static |

|
static |

| T ccmc::Vector< T >::length | ( | ) |
|
static |

|
static |

| void ccmc::Vector< T >::norm | ( | ) |
| Vector< T > ccmc::Vector< T >::operator* | ( | const T & | value | ) | const |
| void ccmc::Vector< T >::operator*= | ( | const T & | value | ) |
| Vector< T > ccmc::Vector< T >::operator+ | ( | const Vector< T > & | v | ) | const |
| void ccmc::Vector< T >::operator+= | ( | const Vector< T > & | v | ) |
| Vector< T > ccmc::Vector< T >::operator- | ( | const Vector< T > & | v | ) | const |
| void ccmc::Vector< T >::operator-= | ( | const Vector< T > & | v | ) |
| Vector< T > ccmc::Vector< T >::operator/ | ( | const T & | value | ) | const |
| void ccmc::Vector< T >::operator/= | ( | const T & | value | ) |
|
static |
|
static |
1.8.3